# name : proportion.delta.mdd in oneline
# key: prop.delta.mdd.1line
# key: prop.diff.mdd.1line
# contributor: Shuguang Sun
# --
-stats::qnorm(${1:0.025}) * sqrt(${2:p1}*(1-$2) + ${3:p2}*(1-$3)) / sqrt(${4:n}/2)